package cn.itcast.dto;


import cn.itcast.entity.OrderDetail;
import cn.itcast.entity.Orders;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;

@Data
@ApiModel("订单传输对象")
public class OrdersDto extends Orders {
    @ApiModelProperty("用户名")
    private String userName;
    @ApiModelProperty("手机号")
    private String phone;
  @ApiModelProperty("地址")
    private String address;
   @ApiModelProperty("收货人")
    private String consignee;
    @ApiModelProperty("订单详细信息")
    private List<OrderDetail> orderDetails;
	
}
